package cc.linker.steplink.crm.support.oauth;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 鉴权中心返回实体封装
 */
@Getter
@Setter
public class TokenResponse implements Serializable{
    private final static long serialVersionUID = 1L;
    @JSONField(name = "access_token")
    private String accessToken;
    @JSONField(name = "refresh_token")
    private String refreshToken;
    @JSONField(name = "token_type")
    private String tokenType;
    @JSONField(name = "expires_in")
    private Long expiresIn;
}
